package com.medical.acc.mapper;

import com.medical.acc.model.AccountHistory;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;
@Mapper
public interface AccountHistoryMapper {
    int deleteByPrimaryKey(String id);

    int insert(AccountHistory record);

    BigDecimal selectForTotal(String userId);

    List<AccountHistory> selectByUser(String userId);
}